
export const ResultDataCodeMap = {
  200: '请求成功',
  203: '用户参数错误',
  403: 'token异常',
  999: '后端错误',
}

export interface XuanResponse<T = any> {
  code: number
  msg: string
  data?: T
}

export type ResultData<T = any> = T

export enum CANCELTTYPE {
  CACHE,
  REPEAT
}